package com.aaa.mapper;
import com.aaa.common.domain.RentInContractInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;


/**
 * Created with IntelliJ IDEA.
 *
 * @Auther: 宋文森
 * @Date: 2021/02/05/14:31
 * @Description: 资产租入合同mapper映射
 */
public interface RentInContractMapper extends BaseMapper<RentInContractInfo> {
    <Page extends IPage<RentInContractInfo>>Page listPublicAssetsRentInContract(Page page);
    <Page extends IPage<RentInContractInfo>>Page listOtherAssetsRentInContract(Page page);
    <Page extends IPage<RentInContractInfo>>Page publicOtherConditionalQuery(Page page,@Param("contractId")String ContractId,@Param("lessor")String lessor);
    <Page extends IPage<RentInContractInfo>>Page OtherAssetsConditionalQuery(Page page,@Param("contractId")String ContractId,@Param("lessor")String lessor);
    RentInContractInfo listRentInContractById(int id);
}
